﻿using DevExpress.XtraGrid.Demos.util;
using DXApplicationTangche.DTO;
using mendian;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DXApplicationTangche.UC.订单异常.service
{
    public class 订单异常Service
    {
        public static List<DTO订单异常> get订单异常一览()
        {
            return
                FunctionHelper.JsonDeserialization<List<DTO订单异常>>(
                    RestCall.httpGetMethod(
                        URL.接口url + "/barcode/getOrderExceptionDTOAll"
                        )
                    );
        } 

    }

    public class DTO订单异常
    {
        public String orderId { get; set; } //订单id
        public String orderNo { get; set; } //订单号
        public DateTime orderDate { get; set; }  //时间戳
        public String customerName { get; set; }  //客户名
        public String mobile { get; set; }  //客户电话
        public String styleNameCn { get; set; }  //款式
        public String materialCode { get; set; }  //面料号
        public String styleSizeCd { get; set; }  //尺码
        public String errorMessage { get; set; }  //错误信息
        public DTO订单异常()
        {
               
        }
    }
}
